#pragma once
#include "GameSceneState.h"
#include "BackgroundImage.h"
#include "Menu.h"
#include "AudioOut.h"
#include "jsonreader.h"

class GameSceneRetry : public GameSceneState
{
public:
	~GameSceneRetry();
	static GameSceneState* Instance();
	void Init();
	void Draw();
	DWORD Update(const KeyInput* input);
	void Reset();
private:
	GameSceneRetry();
	static GameSceneRetry* _p_this;
	
	DWORD TickCount;
	DWORD NowState;
	DWORD sceneChange;
	DWORD changeCount;
	
	LPDIRECT3DTEXTURE9 GrayScale;
	LPDIRECT3DTEXTURE9 RetryMenu;
	BackgroundImage* gray;
	Menu* Retrymenu[2];
	Menu* Retryimage;

	jsonreader* loadData;
	AudioOut* audio;
};
